package com.kongxx.wicketstudy.tutorial.user.web;

import com.kongxx.wicketstudy.tutorial.user.model.User;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;

public class UserView extends WebPage {
	public UserView(User user) {
		add(new Label("id", user.getId()));
		add(new Label("username", user.getUsername()));
		add(new Label("password", user.getPassword()));
		add(new Label("description", user.getDescription()));
	}
}
